PACKAGE WL3 - WORKING LUNCH REPORT

Purpose
- Adds a backoffice report that clearly separates:
  Default Lunch
  Working Lunch
  Lunch Deducted
  Worked Time

Files
- /backoffice/working-lunch-report.php
- /backoffice/working-lunch-report.css
- /sql/verify-wl3-working-lunch-report.sql
- /README-WL3.txt

Extract inside
- /home/uent/public_html

Open this page
- https://uent.co.za/backoffice/working-lunch-report.php

Recommended menu placement
Add this link in the backoffice left menu near Sessions / Staff Hours:

Working Lunch Report
/backoffice/working-lunch-report.php

What the report shows
- Staff ID
- Staff Name
- Worksite
- Date
- Clock In
- Clock Out
- Span
- Default Lunch
- Working Lunch
- Lunch Deducted
- Worked
- Lunch Status
- In Status
- Out Status

Calculation
- Default Lunch comes from staff payroll/lunch rule for the session date.
- Working Lunch comes from work_session_breaks.actual_minutes.
- Lunch Deducted comes from work_session_breaks.deducted_minutes when a working lunch record exists.
- If no working lunch record exists, full default lunch is deducted.
- Worked = Span - Lunch Deducted.

Important
- Existing Sessions page may still have the old Lunch column.
- This new page is the clean WL3 report for validating the new working lunch logic before replacing old session/payroll reports.
